package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Standardtype;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface StandardtypeService {

	public Standardtype saveStandardtype(Standardtype standardtype);

	public Set<Standardtype> loadStandardtypes();

	public Set<Standardtype> loadReferenceStandardtypes(Set<Standardtype> standardtypes);

	public Set<Standardtype> loadStandardtypesByIdSet(Set<Integer> standardtypesId);

	public Map<String, ?> loadStandardtypeObjectReferencedSet(Standardtype standardtype);

	public Map<String, ?> loadStandardtypeClassReferencedSet(Standardtype standardtype);

	public void deleteStandardtype(Standardtype standardtype);

	public void deleteStandardtypes(Set<Integer> deleteStandardtypesId);

	public List<Standardtype> findAllStandardtypes(Integer startResult, Integer maxRows);

	public Standardtype findStandardtypeByPrimaryKey(Integer id);

	public Integer countStandardtypes();

	public Integer countStandardtypes(CmiPagination page);

	public Integer countStandardtypesByName(String queryName);

	public Integer countStandardtypesByDetachedCriteria(CmiPagination page);

}
